package decorators;

import services.VilainService;
import utils.PowerVilain;
import utils.Sante;
import utils.TypeVilain;
import contracts.ContractException;

public class VilainDecorator implements VilainService {
	private VilainService delegate;
	
	public VilainDecorator(VilainService delegate){
		this.delegate = delegate;
	}
	
	@Override
	public TypeVilain getType() {
		return delegate.getType();
	}

	@Override
	public PowerVilain getPower() {
		return delegate.getPower();
	}

	@Override
	public int getX() {
		return delegate.getX();
	}

	@Override
	public int getY() {
		return delegate.getY();
	}

	@Override
	public Sante getVilainSante() {
		return delegate.getVilainSante();
	}

	@Override
	public int getNumero() {
		return delegate.getNumero();
	}

	@Override
	public void init(TypeVilain typevilain) throws ContractException {
		delegate.init(typevilain);
	}

}
